<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <title>商品管理</title>
    <link rel="stylesheet" href="/src/font/iconfont.css">
    <link rel="stylesheet" href="/src/libs/bootstrap-3.3.5-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/src/libs/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="/css/manage.css">
	<script type="text/javascript" src="/src/js/goodsprice_table.js"></script>
    <script id="script" src="/src/libs/require.min.js" defer async="true" require-module="./manage_goods_add" data-main="/src/js/config.js"></script>
    <!--[if lt IE 9]>
    <script src="/src/libs/html5shiv.min.js"></script>
    <script src="/src/libs/respond.min.js"></script>
    <![endif]-->
</head>

<body>
    <div class="manage_sidebar" id="left-side-bar">
    <!--<a href="javascript:void(0)" class="logo block">
        <img src="/src/image/manage_logo.png" alt="">
    </a>-->

    <div style="display: none;margin-top: 20px;" id="div1">
        <a href="javascript:void(0)" class="block clearfix item" id="goodsManage"><img src="/src/image/777.png" alt="" class="fl"><span
                class="fl">商品管理</span><img src="/src/image/jiantou.png" alt="" class="fr"></a>
        <ul>
            <li class="ite" id="goodsList" style="display: none">
                <a href="/page/manage_goods_list.html?lid=0" class="block"><span>商品列表</span></a>
            </li>
            <li class="ite" id="goodsOrder" style="display: none">
                <a href="/page/manage_goods_order.html?lid=1" class="block"><span>商品订单</span></a>
            </li>
            <li class="ite" id="goodsCatory" style="display: none">
                <a href="/page/manage_product_category_list.html?lid=2" class="block"><span>商品分类</span></a>
            </li>
        </ul>
    </div>
    <div style="display: none;" id="div2">
        <a href="javascript:void(0)" class="block clearfix item">
            <img src="/src/image/666.png" alt="" class="fl">
            <span class="fl">客户中心</span>
            <img src="/src/image/jiantou.png" alt="" class="fr">
        </a>
        <ul>
            <li class="ite" id="memberManage" style="display: none">
                <a href="/page/manage_vip_list.html?lid=3" class="block"><span>会员管理</span></a>
            </li>
            <li class="ite" id="messageManage" style="display: none">
                <a href="/page/manage_message_list.html?lid=4" class="block"><span>消息推送</span></a>
            </li>
        </ul>
    </div>
    <div style="display: none;"  id="div3">
        <a href="javascript:void(0)" class="block clearfix item">
            <img src="/src/image/55.png" alt="" class="fl">
            <span class="fl">文章管理</span>
            <img src="/src/image/jiantou.png" alt="" class="fr">
        </a>
        <ul>
            <li class="ite"  id="articleManage" style="display: none">
                <a href="/page/manage_article_list.html?lid=5" class="block"><span>文章列表</span></a>
            </li>
        </ul>
    </div>
    <div style="display: none;"  id="div4">
        <a href="javascript:void(0)" class="block clearfix item">
            <img src="/src/image/44.png" alt="" class="fl">
            <span class="fl">广告管理</span>
            <img src="/src/image/jiantou.png" alt="" class="fr">
        </a>
        <ul>
            <li class="ite"  id="adManage" style="display: none">
                <a href="/page/manage_adPosition_list.html?lid=6" class="block"><span>设置广告</span></a>
            </li>
        </ul>
    </div>
    <div style="display: none;" id="div5">
        <a href="javascript:void(0)" class="block clearfix item">
            <img src="/src/image/333.png" alt="" class="fl">
            <span class="fl">商品订单</span>
            <img src="/src/image/jiantou.png" alt="" class="fr">
        </a>
        <ul>
            <li class="ite" id="goodsReport" style="display: none">
                <a href="/page/manage_goods_report.html?lid=7" class="block"><span>商品统计</span></a>
            </li>
            <li class="ite" id="orderReport" style="display: none">
                <a href="/page/manage_order_report.html?lid=8" class="block"><span>订单统计</span></a>
            </li>
        </ul>
    </div>
    <div style="display: none;" id="div6">
        <a href="javascript:void(0)" class="block clearfix item">
            <img src="/src/image/22.png" alt="" class="fl">
            <span class="fl">账号管理</span>
            <img src="/src/image/jiantou.png" alt="" class="fr">
        </a>
        <ul>
            <li class="ite" id="adminManage" style="display: none">
                <a href="/page/manage_setting.html?lid=9" class="block"><span>管理员设置</span></a>
            </li>
            <li class="ite" id="roleManage" style="display: none">
                <a href="/page/manage_role.html?lid=10" class="block"><span>角色权限管理</span></a>
            </li>
        </ul>
    </div>
</div>
    <nav class="navbar navbar-default manage-nav" role="navigation">
    <a class="navbar-brand" href="#" style="font-size: 32px;color: #fff;padding-top: 22px;padding-left: 40px;">商城后台</a>
    <ul class="nav navbar-nav navbar-right">
        <li class="portrait">
            <a href="#" class="inline-block"><img src="/src/image/default_portrait.png" alt=""></a>
        </li>
        <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="user-name">Admin</span>&nbsp;<span class="caret"></span></a>
            <ul class="dropdown-menu" role="menu">
                <li><a href="javascript:void(0)" id="logout">退出</a></li>
            </ul>
        </li>
    </ul>
</nav>

    <div class="container-wrap" >
        <div class="bread-nav clearfix p-l-lg">
            <ol>
                <li class="fl active text-333 text-basic"><a href="javascript:void(0);" onclick="window.history.go(-1);">商品列表&nbsp;&gt;&nbsp;</a></li>
                <li class="fl active text-333 text-basic"><a href="javascript:void(0);" id="addState">添加商品</a></li>
            </ol>
        </div>
		<!--<div class="modal fade" id="del-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" id="addinfo">-->
			<!--<div class="modal-dialog">-->
				<!--<div class="modal-content">-->
					<!--<div>-->
					<!--<h2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请添加规格</h2>-->
						<!--<br>规格/单位 <input class="form-control" type="text"-->
							<!--id="id_unitName" /> <br>采购价(保留两位小数点) <input-->
							<!--class="form-control" type="text" id="id_buyPrice" onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"  /> <br>零售价(保留两位小数点)-->
						<!--<input class="form-control" type="text" id="id_retailPrice" onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/> <br>批发价(保留两位小数点)-->
						<!--<input class="form-control" type="text" id="id_wholesalePrice" onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/>						-->
					<!--</div>-->
					<!--<div class="modal-body">-->
						<!--<div class="m-t-xxl" style="padding-bottom:40px;">-->
							<!--<p class="text-md text-666 m-t-xxl m-b-xxl text-left" id="name" style="margin-left:20px;"></p>-->
							<!--<div class="text-right" style="margin-right:40px;">-->
								<!--<input type="button" value="提交" onclick="addInfo()"-->
									<!--id="btn_add"> -->
										<!--<input type="button" value="取消"-->
								<!--onclick="hideAddInput()">							-->
							<!--</div>-->
						<!--</div>-->
					<!--</div>-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->

		<!-- <div class="form-group text-basic"
					style="display:none;"
					id="addinfo">
					<div>
					<h2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请添加规格</h2>
						<br>规格/单位 <input class="form-control" type="text"
							id="id_unitName" /> <br>采购价(保留两位小数点) <input
							class="form-control" type="text" id="id_buyPrice" onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"  /> <br>零售价(保留两位小数点)
						<input class="form-control" type="text" id="id_retailPrice" onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/> <br>批发价(保留两位小数点)
						<input class="form-control" type="text" id="id_wholesalePrice" onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/>
						<br> <input type="button" value="提交" onclick="addInfo()"
							id="btn_add"> <input type="button" value="取消"
							onclick="hideAddInput()">
					</div>
		</div> -->
	
	
	
        <form class="form-horizontal p-t-lg" id="form-box">
            <div id="div-box">

                <!-- 新增 -->
                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>是否上架<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <label class="radio-inline m-r-lg">
                            <input type="radio" name="isMarketable" value="0" checked >未上架（默认）
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="isMarketable" value="1">上架
                        </label>
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>SKU<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="goodsName" class="form-control" value="" placeholder="输入商品名称">
                    </div>
                </div>


                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>价格(元)<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="showPrice" class="form-control" value="无" placeholder="输入价格">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>眼镜款式<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <select id="glassTypeList">
                            <option value="0">全框</option>
                            <option value="1">半框</option>
                            <option value="2">无框</option>
                        </select>
                        <input type="text" id="glassType" name="glassType" class="form-control" value="0" placeholder="输入眼镜款式" onkeyup="this.value=this.value.replace(/\D/g,'')" style="display:none">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>眼镜颜色<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="glassColor" class="form-control" value="无" placeholder="输入眼镜颜色">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>镜片高度(mm)<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="lensHeight" class="form-control" value="无" placeholder="输入镜片高度">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>镜片宽度(mm)<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="lensWidth" class="form-control" value="无" placeholder="输入镜片宽度">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>镜桥长度(mm)<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="bridgeWidth" class="form-control" value="无" placeholder="输入镜桥长度">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>眼镜材质<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <select id="glassMaterialList">
                            <option value="0">板材</option>
                            <option value="1">金属</option>
                            <option value="2">其他</option>
                        </select>
                        <input type="text" id="glassMaterial" name="glassMaterial" class="form-control" value="0" placeholder="输入眼镜材质" onkeyup="this.value=this.value.replace(/\D/g,'')" style="display:none">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right p-t-sm">
                        <span>男女款<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <label class="radio-inline m-r-lg">
                            <input type="radio" name="gender" value="1" >男
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="gender" value="2" >女
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="gender" value="3" checked>中性(默认)
                        </label>
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right p-t-sm">
                        <span>是否太阳镜<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <label class="radio-inline m-r-lg">
                            <input type="radio" name="sunGlasses" value="1">是
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="sunGlasses" value="2" checked>否（默认）
                            <!-- </label> -->
                        </label>
                    </div>
                </div>


				 <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>商品别名<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <input type="text" name="nickName" class="form-control" value="" placeholder="输入商品别名">
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>商品分类<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
						<div class="col-lg-5">
							<select id="firstLevelList">
							<option value="0">一级分类</option>
							</select>
						</div>
						<div class="col-lg-5">					
							<select id="secondLevelList">
							<option value="0">二级分类</option>
							</select>
						</div>
                        <input type="text" id="categoryId" name="categoryId" class="form-control" value="0" placeholder="输入商品分类" onkeyup="this.value=this.value.replace(/\D/g,'')" style="display:none">						
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>商品缩略图<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-10">
                        <ul id="pic-document-list" >

                        </ul>
                        <a href="javascript:void(0);" class="a-upload">
                            <input type="file" name="" id="pic-upload"/>
                                <span>点击上传封面icon图(最多上传1张图片)<span>
                        </a>
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>商品详情图<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-10">
                        <ul id="pic-document-list-detail" >

                        </ul>
                        <a href="javascript:void(0);" class="a-upload-detail">
                            <input type="file" name="" id="pic-upload-detail"/>
                                <span>点击上传详情图(最多上传8张图片)</span>
                        </a>
                    </div>
                </div>

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right">
                        <span>sdk信息(3张图+1个txt文件)<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-10">
                        <ul id="pic-document-list-sdk" >

                        </ul>
                        <a href="javascript:void(0);" class="a-upload-sdk">
                            <input type="file" name="" id="pic-upload-sdk"/>
                                <span>点击上传sdk信息(最多上传4个文件)</span>
                        </a>
                    </div>
                </div>

                <!--<div class="form-group text-basic">-->
                    <!--<div class="col-lg-2 text-right">-->
                        <!--<span>sdk glasss.png<i class="red p-r-sm">*</i></span>-->
                    <!--</div>-->
                    <!--<div class="col-lg-10">-->
                        <!--<ul id="pic-document-list" >-->

                        <!--</ul>-->
                        <!--<a href="javascript:void(0);" class="a-upload">-->
                            <!--<input type="file" name="" id="pic-upload"/>-->
                                <!--<span>点击上传glasss.png(最多上传1张图片)</span>-->
                        <!--</a>-->
                    <!--</div>-->
                <!--</div>-->

                <!--<div class="form-group text-basic">-->
                    <!--<div class="col-lg-2 text-right">-->
                        <!--<span>sdk glass edit.png<i class="red p-r-sm">*</i></span>-->
                    <!--</div>-->
                    <!--<div class="col-lg-10">-->
                        <!--<ul id="pic-document-list" >-->

                        <!--</ul>-->
                        <!--<a href="javascript:void(0);" class="a-upload">-->
                            <!--<input type="file" name="" id="pic-upload"/>-->
                            <!--<span>点击上传glass edit.png(最多上传1张图片)</span>-->
                        <!--</a>-->
                    <!--</div>-->
                <!--</div>-->


                <!--<div class="form-group text-basic">-->
                    <!--<div class="col-lg-2 text-right">-->
                        <!--<span>sdk glass.txt<i class="red p-r-sm">*</i></span>-->
                    <!--</div>-->
                    <!--<div class="col-lg-10">-->
                        <!--<ul id="pic-document-list" >-->

                        <!--</ul>-->
                        <!--<a href="javascript:void(0);" class="a-upload">-->
                            <!--<input type="file" name="" id="pic-upload"/>-->
                            <!--<span>点击上传glass.txt(最多上传1个文件)</span>-->
                        <!--</a>-->
                    <!--</div>-->
                <!--</div>-->

                <div class="form-group text-basic">
                    <div class="col-lg-2 text-right p-t-sm">
                        <span>推荐到首页<i class="red p-r-sm">*</i></span>
                    </div>
                    <div class="col-lg-5">
                        <label class="radio-inline m-r-lg">
                            <input type="radio" name="recommend" value="1">是
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="recommend" value="2" checked>否（默认）
                            <!-- </label> -->
                        </label>
                    </div>
                </div>

                <div class="form-group">
                    <label for="" class="col-lg-2 control-label font-normal text-basic">简要描述<i class="red p-r-sm">*</i></label>
                    <div class="col-lg-5">
                        <textarea class="form-control" name="simpleDescribe" rows="3" placeholder="输入描述信息"></textarea>
                    </div>
                </div>
                <!-- 新增 end -->

                <!-- 编辑时操作 -->
                 <script id="div-box-tpl" type="text/html">
                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>是否上架<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <label class="radio-inline m-r-lg">
                                 <input type="radio" name="isMarketable" value="0" {{if obj.isMarketable==0}}checked {{/if}}>未上架（默认）
                             </label>
                             <label class="radio-inline">
                                 <input type="radio" name="isMarketable" value="1" {{if obj.isMarketable==1}} checked {{/if}}>上架
                             </label>
                         </div>
                     </div>
                     <div class="form-group text-basic">
                        <div class="col-lg-2 text-right">
                            <span>SKU<i class="red p-r-sm">*</i></span>
                        </div>
                        <div class="col-lg-5">
                            <input type="text" name="goodsName" class="form-control" value="{{obj.goodsName}}" placeholder="输入商品名称">
                        </div>
                    </div>


                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>价格(元)<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <input type="text" name="showPrice" class="form-control" value="{{obj.showPrice}}" placeholder="输入价格">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>眼镜款式<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <select id="glassTypeList">
                                 <option value="0">全框</option>
                                 <option value="1">半框</option>
                                 <option value="2">无框</option>
                             </select>
                             <input type="text" id="glassType" name="glassType" class="form-control" value="{{obj.glassType}}" placeholder="输入眼镜款式" onkeyup="this.value=this.value.replace(/\D/g,'')" style="display:none">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>眼镜颜色<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <input type="text" name="glassColor" class="form-control" value="{{obj.glassColor}}" placeholder="输入眼镜颜色">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>镜片高度(mm)<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <input type="text" name="lensHeight" class="form-control" value="{{obj.lensHeight}}" placeholder="输入镜片高度">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>镜片宽度(mm)<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <input type="text" name="lensWidth" class="form-control" value="{{obj.lensWidth}}" placeholder="输入镜片宽度">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>镜桥长度(mm)<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <input type="text" name="bridgeWidth" class="form-control" value="{{obj.bridgeWidth}}" placeholder="输入镜桥长度">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>眼镜材质<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <select id="glassMaterialList">
                                 <option value="0">板材</option>
                                 <option value="1">金属</option>
                                 <option value="2">其他</option>
                             </select>
                             <input type="text" id="glassMaterial" name="glassMaterial" class="form-control" value="{{obj.glassMaterial}}" placeholder="输入眼镜材质" onkeyup="this.value=this.value.replace(/\D/g,'')" style="display:none">
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right p-t-sm">
                             <span>男女款<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <label class="radio-inline m-r-lg">
                                 <input type="radio" name="gender" value="1" {{if obj.gender==1}} checked {{/if}}>男
                             </label>
                             <label class="radio-inline">
                                 <input type="radio" name="gender" value="2" {{if obj.gender==2}} checked {{/if}}>女
                             </label>
                             <label class="radio-inline">
                                 <input type="radio" name="gender" value="3" {{if obj.gender==3}} checked {{/if}}>中性(默认)
                             </label>
                         </div>
                     </div>

                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right p-t-sm">
                             <span>是否太阳镜<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-5">
                             <label class="radio-inline m-r-lg">
                                 <input type="radio" name="sunGlasses" value="1" {{if obj.sunGlasses==1}} checked {{/if}}>是
                             </label>
                             <label class="radio-inline">
                                 <input type="radio" name="sunGlasses" value="2" {{if obj.sunGlasses==2}} checked {{/if}}>否（默认）
                                 <!-- </label> -->
                             </label>
                         </div>
                     </div>


					<div class="form-group text-basic">
						<div class="col-lg-2 text-right">
							<span>商品别名<i class="red p-r-sm">*</i></span>
						</div>
						<div class="col-lg-5">
							<input type="text" name="nickName" class="form-control" value="{{obj.nickName}}" placeholder="输入商品别名">
						</div>
					</div>
                    <div class="form-group text-basic">
                        <div class="col-lg-2 text-right">
                            <span>商品分类<i class="red p-r-sm">*</i></span>
                        </div>
                        <div class="col-lg-5">
                            <div class="col-lg-5">
							<select  id="firstLevelList" >
							<option  value="0">一级分类</option>
							</select>
						</div>
						<div class="col-lg-5">					
							<select  id="secondLevelList" >
							<option  value="0">二级分类</option>
							</select>
						</div>
                        <input type="text" id="categoryId" name="categoryId" class="form-control" value="{{obj.categoryId}}" placeholder="输入商品分类" onkeyup="this.value=this.value.replace(/\D/g,'')" style="display:none">
                        </div>
                    </div>
                     <div class="form-group text-basic">
                        <div class="col-lg-2 text-right">
                            <span>商品缩略图<i class="red p-r-sm">*</i></span>
                        </div>
                        <div class="col-lg-10">
                            <ul id="pic-document-list" >

                            </ul>
                            <a href="javascript:void(0);" class="a-upload">
                                <input type="file" name="" id="pic-upload"/>
                                <span>点击上传封面icon图(最多上传1张图片)</span>
                            </a>
                        </div>
                    </div>
                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>商品详情图<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-10">
                             <ul id="pic-document-list-detail" >

                             </ul>
                             <a href="javascript:void(0);" class="a-upload-detail">
                                 <input type="file" name="" id="pic-upload-detail"/>
                                <span>点击上传详情图(最多上传8张图片)</span>
                             </a>
                         </div>
                     </div>
                     <div class="form-group text-basic">
                         <div class="col-lg-2 text-right">
                             <span>sdk信息(3张图+1个txt文件)<i class="red p-r-sm">*</i></span>
                         </div>
                         <div class="col-lg-10">
                             <ul id="pic-document-list-sdk" >

                             </ul>
                             <a href="javascript:void(0);" class="a-upload-sdk">
                                 <input type="file" name="" id="pic-upload-sdk"/>
                                 <span>点击上传sdk信息(最多上传4个文件)</span>
                             </a>
                         </div>
                     </div>

                    <div class="form-group text-basic">
                        <div class="col-lg-2 text-right p-t-sm">
                            <span>推荐到首页<i class="red p-r-sm">*</i></span>
                        </div>
                        <div class="col-lg-5">
                            <label class="radio-inline m-r-lg">
                                <input type="radio" name="recommend" value="1" {{if obj.recommend==1}} checked {{/if}}>是
                            </label>
                            <label class="radio-inline">
                                <input type="radio" name="recommend" value="2" {{if obj.recommend==2}} checked {{/if}}>否
                                <!-- </label> -->
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-lg-2 control-label font-normal text-basic">简要描述<i class="red p-r-sm">*</i></label>
                        <div class="col-lg-5">
                            <textarea class="form-control" name="simpleDescribe" rows="3" placeholder="输入描述信息">{{obj.simpleDescribe}}</textarea>
                        </div>
                    </div>
                </script>
                <!-- 编辑时操作 end -->
            </div>
            <div class="form-group p-b-xl">
                <label for="" class="col-lg-2 control-label font-normal text-basic">详细描述<i class="red p-r-sm">*</i></label>
                <div class="col-lg-5">
                    <!-- 加载编辑器的容器 -->
                    <script id="container" name="detailDescribe" type="text/plain">

                    </script>
                </div>
            </div>
            <div class="btn-group" style="position: absolute;top:90px;right:0;">
                <input type="submit" id="submit-btn" value="保存" class="btn btn-primary m-r-lg text-basic">
                <a href="javascript:void(0)" class="btn btn-default m-r-lg text-basic" onclick="window.history.go(-1);">返回</a>
            </div>
        </form>
    </div>
	<script type="text/html" id="levelCategoryDataList">
        {{each dataList as value i}}
             <option  value="{{value.categoryId}}">{{value.categoryName}}</option>
        {{/each}}
    </script>
</body>
</html>
